package com.hairline.hairlinemarket.service.impl;

import com.hairline.hairlinemarket.bean.MarketAdmin;
import com.hairline.hairlinemarket.mapper.MarketAdminMapper;
import com.hairline.hairlinemarket.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author:杨小凯
 * Date:2023-04-20 16:48
 * Description:<描述>
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private MarketAdminMapper marketAdminMapper;

    @Override
    public MarketAdmin selectByPrimaryKey(Integer id) {
        MarketAdmin marketAdmin = marketAdminMapper.selectByPrimaryKey(id);
        return marketAdmin;
    }
}
